1. T : Type
2. x : T 3. y : T 4. L1 : T List
5. L2 : T List
6. i : {0..(||L1 @ L2|| - 1)}
7. x = (L1 @ L2)[i]
8. y = (L1 @ L2)[(i+1)]
(i:{0..(||L1|| - 1)}. (x = L1[i] & y = L1[(i+1)]))
((0 < ||L1||) & (0 < ||L2||) & x = last(L1) & y = hd(L2))
(i:{0..(||L2|| - 1)}. (x = L2[i] & y = L2[(i+1)]))